package org.example.mallcommon.myenum;

/**
 * @author 韩先楚
 * 用户行为类型枚举
 */
public enum ActionType {
    VIEW(0.5),  //浏览
    COMMENT(1.0),  //评论
    LIKE(1.5),  //点赞
    COLLECT(2.0), //收藏
    SHARD(2.5);  //分享

   private  final Double value;

   private ActionType(Double value) {
        this.value = value;
    }
    public Double getValue() {
        return value;
    }
}
